package tss.datastore.data;

import org.joda.time.Instant;

public class InstantValue<T> {

    private Object value;
    private Instant instant;

    public InstantValue(Instant instant, Object value) {
        this.instant = instant;
        this.value = value;
    }
    
    public Instant getInstant() {
        return instant;
    }

    @SuppressWarnings("unchecked")
    public T getValue() {
        return (T) value;
    }

}
